<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="menu.xsl" />
<xsl:include href="footer.xsl" />
<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" method="xml" encoding="iso-8859-1" />
  <xsl:template match="/">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  <head>
  <title>Framework Inovia</title>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<link rel="stylesheet" href="public/manager/css/manager.css" type="text/css" media="screen" />
  <script type="text/javascript" src="public/manager/js/menu.js"></script>
    
  </head>
  <body>
    <div id="header">
    	<img id="logo" src="public/manager/images/bando.png" alt="Fw-BofF" />  
    </div>
    <div id="date">
      <xsl:value-of select=".//site/date" />
    </div>
    
    <!--<ul id="menu">
    	<li><a class="active" href="index.php?action=homeManager">Home</a></li>
    	<li><a href="index.php?action=homeUsers">Users</a></li>
    	<li><a href="index.php?action=homeMonitoring">Monitoring</a></li>
    	<li><a href="index.php?action=homeScaffolding">Scaffolding</a></li>
    	<li><a  href="index.php?action=homeUpdates">Updates</a></li>
    </ul>-->
    <xsl:call-template name="displayMenu">
      <xsl:with-param name="selectedMenu" select="string('home')"/>
    </xsl:call-template>
    
    
    <div id="PageLeft">
    
      <div id="content" style="width:450px;">
        <h1 id="pageName">Title   <xsl:value-of select=".//feed/title" />   </h1> 
        <xsl:for-each select=".//feed/entry">
        <div style="margin:10px 0 0 20px;width:420px;padding:5px;border:1px dotted #AAAAAA;background-color:#ECF3E1;">
    		  <h2>
    		  <xsl:variable name="hlink" select="link/@href"/>
    		  <a href="{$hlink}" target="_blank" >
    		  <xsl:value-of select="title" /> 
    		  </a>
    		  </h2>
    		  	
  		  </div> 
        </xsl:for-each>              
      </div>
      
      <div style="margin-left:30px;float:left;">
      <h1 id="pageName" style="width:500px;margin-top:20px">   Maintenance   </h1>
      <div style="margin:10px 0 0 20px;width:500px;padding:5px;border:1px dotted #AAAAAA;background-color:#ECF3E1;">
      <p> 
				<xsl:choose>
					<xsl:when test="./site/maintenance/state/text() = '0'">Off</xsl:when>
					<xsl:otherwise>On</xsl:otherwise>
				</xsl:choose></p>
      </div>
      </div>

    </div>
   <xsl:call-template name="displayFooter" />
  </body>
</html>
 </xsl:template>
 </xsl:stylesheet>
